package jgl.vajra.kingkong.part.vehicle.contract;

import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.kingkong.bean.OwnerDetailsBean;
import jgl.vajra.kingkong.databinding.ActivityOwnerDetailsBinding;
import jgl.vajra.kingkong.widget.mvvm.model.BaseModel;
import jgl.vajra.kingkong.widget.mvvm.view.BaseMVVMView;
import jgl.vajra.kingkong.widget.mvvm.viewmodel.BaseViewModel;

public class OwnerDetailsContract {
    public abstract static class Model extends BaseModel {
        public abstract Observable<OwnerDetailsBean> getOwnerDetailsData(Map<String, Object> map);
    }

    public interface View extends BaseMVVMView {

        void onCollection();

        void onHistoricalOrder();

        void onFullExposure();

        void returnOwnerDetailsData(OwnerDetailsBean data);
    }

    public abstract static class ViewModel extends BaseViewModel<View, ActivityOwnerDetailsBinding, Model> {

        public abstract void getOwnerDetailsData(Map<String, Object> map);
    }
}
